<head>
	<meta charset="UTF-8">
	<title>用户注册</title>
	<!-- 新 Bootstrap 核心 CSS 文件 -->

	<link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

	<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->

	<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>

	<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->

	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<style>

		.container1 {
			margin-top: 70px;
			width: 45%;
			margin-left: 30%;
		}

		/* 需要在一行的元素 */
		.inline-style {
			display: inline-block;
		}
		/* 文字需要靠右 */
		.font-position-right{
			text-align: right;
		}
		/* 注册按钮 */
		.register-btn{
			margin-left: 10%;
		}


	</style>
</head>
<body>
<div class="container1">

	<form class="form-horizontal" method="post" action="/register">
		<div class="form-group">
			<!--<h2 class="form-signin-heading">注册</h2>-->
			<!-- class="sr-only"将label标签隐藏 -->
			<label for="exampleInputUsername1" class="col-sm-2 control-label inline-style font-position-right">用户名</label>
			<div class="col-sm-9 inline-style ">
				<input type="text" class="form-control" id="exampleInputUsername1" name="name" placeholder="用户名">
			</div>
		</div>
		<div class="form-group">
			<!--<h2 class="form-signin-heading">注册</h2>-->
			<label for="exampleInputUsername1" class="col-sm-2 control-label  inline-style font-position-right">密码</label>
			<div class="col-sm-9  inline-style">
				<input type="password" class="form-control" id="exampleInputPassword1" placeholder="密码" name="password">
			</div>
		</div>
		<div class="form-group">
			<label for="exampleInputUsername1" class="col-sm-2 control-label   inline-style font-position-right">手机</label>
			<div class="col-sm-9  inline-style">
				<input type="tel" class="form-control" id="exampleInputPhone1" placeholder="手机" name="phone">
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<div class="checkbox">
					<label>
						<!--<input type="checkbox">
                        记住密码-->
					</label>
				</div>
			</div>
		</div>

		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button class="btn btn-lg btn-primary btn-block register-btn" type="submit">注册</button>
			</div>

		</div>
	</form>

</div>

</body>
</html>